﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JQueryWidget.WidgetFrame
{
    public partial class ShowWidgetWithComponentAJAX : JQueryWidget.WidgetFrame.Common.TemplatePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BindData();
        }

        protected void BindData()
        {
            PageID = 1;
            NeedWrapper = Request["needwrapper"] == "true" ? true : false;
            AdministratorToolBox.Visible = NeedWrapper;
            templateHolder.Controls.Add(LoadWidgetStoreTemplate() as UserControl);
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
        }
         
    }
}